<script language="javascript" type="text/javascript">
   parent.ajaxProxyShowErrMsg('<?php echo $msg; ?>');
</script>